package com.vertx.zipkin;

import io.vertx.core.Vertx;
import io.vertx.core.VertxOptions;
import io.vertx.tracing.zipkin.ZipkinTracingOptions;

public class HelloService {
	public static void main(String[] args) {

		Vertx vertx = Vertx.vertx(new VertxOptions()
				.setTracingOptions(new ZipkinTracingOptions().setServiceName("HelloService"))
		);

		vertx.deployVerticle(new HelloVerticle())
				.toCompletionStage()
				.toCompletableFuture();
		System.out.println("JokeService started");
	}
}
